package com.beijiteshop.shop.ui.category.repo

import com.beijiteshop.libcommon.network.repo.BaseRepo

/**
 * @Author LiaoZhongKai
 * @Date 2021/3/10 19:25
 * @Description
 */
class CategoryRepo(private val service: CategoryService) : BaseRepo() {

    fun getCategories() = service.getCategories()

    fun getCategoryProducts(page: Int,typeId: String) = service.getCategoryProducts(page, typeId)
}